﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.tailingpond_analysis_detail>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	尾矿库分析报告填写
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% 
        analysis_reporting_list reporting = (analysis_reporting_list)ViewData["reporting"];
        Tailingpond tailingpond = (Tailingpond)ViewData["tailingpond"];
        tailingpond_analysis_detail detail = (tailingpond_analysis_detail)ViewData["detail"];
        User analyzer = (User)ViewData["analyzer"];
        User auditor = (User)ViewData["auditor"];
    %>
      
    <h2 class="view_title" style="width:756px;"><%=tailingpond.Name%><%=reporting.date.Year%>年<%=reporting.date.Month%>月监控报告</h2>
    <div class="view_sub_title" style="width:756px;">
        <span>报告状态：<%= reporting.status == 2 || reporting.status == 3 ? "发布稿" : "草稿"%></span>
        <span>填写时间：<%=reporting.finishedTime.Value.Year%>-<%=reporting.finishedTime.Value.Month%>-<%=reporting.finishedTime.Value.Day%></span>
        <span>分析人员：<%= analyzer == null ? "" : analyzer.RealName%></span>
        <span>审核人员：<%= auditor == null ? "" : auditor.RealName%></span>
    </div>

    <table cellpadding="3" cellspacing="0" class="com_from_table3" style="width:756px;">
        <tr>
            <td colspan="4"><strong class="space">【情况判断】</strong></td>
        </tr>
        <tr>
            <th style="width:100px;">监测项</th>
            <th style="width:50px;">正常</th>
            <th style="width:50px;">异常</th>
            <th>补充说明</th>
        </tr>
        <tr>
            <td>水位及水质</td>
            <td style="text-align:center;"><input disabled="disabled" id="waterNormal" type="radio" name="water" value="0" <%if (Model.water == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="waterInnormal" type="radio" name="water" value="1" <%if (Model.water == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.water_desc%></td>
        </tr>
        <tr>
            <td>进浆及回水</td>
            <td style="text-align:center;"><input disabled="disabled" id="backWaterNormal" type="radio" name="backwater" value="0" <%if (Model.backwater == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="backWaterInnormal" type="radio" name="backwater" value="1" <%if (Model.backwater == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.backwater_desc%></td>
        </tr>
        <tr>
            <td>沉降及位移</td>
            <td style="text-align:center;"><input disabled="disabled" id="ditchNormal" type="radio" name="ditch" value="0" <%if (Model.ditch == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="ditchInnormal" type="radio" name="ditch" value="1" <%if (Model.ditch == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.ditch_desc%></td>
        </tr>
        <tr>
            <td>尾矿堆积坝</td>
            <td style="text-align:center;"><input disabled="disabled" id="filldamNormal" type="radio" name="filldam" value="0" <%if (Model.filldam == 0) { %>checked="checked" <%} %> /></td>
            <td style="text-align:center;"><input disabled="disabled" id="filldamInnormal" type="radio" name="filldam" value="1" <%if (Model.filldam == 1) { %>checked="checked" <%} %> /></td>
            <td><%= Model.filldam_desc%></td>
        </tr>
    </table>

    <table cellpadding="2" cellspacing="0" class="com_from_table3" style="width:756px;">
        <tr>
            <td><strong class="space">【总结报告】</strong></td>
        </tr>
        <tr>
            <td style="padding:8px 16px;"><%= Model.summary%></td>
        </tr>
    </table>

    <table cellpadding="2" cellspacing="0" class="com_from_table3" style="width:756px;">
        <tr>
            <td><strong class="space">【建议】</strong></td>
        </tr>
        <tr>
            <td style="padding:8px 16px;"><%= Model.suggestion%></td>
        </tr>
    </table>

    <div style="width:756px; text-align:center;;margin-top:40px">
        <%if (!string.IsNullOrEmpty(Model.doc)) { %><a class="download_btn" title="下载报告" href="<%=Url.Content(Model.doc) %>">下载报告</a><%} %>
    </div>
</asp:Content>
